<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>tree</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="script/xtree.js"></script>
<script type="text/javascript" src="script/xmlextras.js"></script>
<script type="text/javascript" src="script/xloadtree.js"></script>
<link type="text/css" rel="stylesheet" href="styles/xtree.css" />
</head>
<body>
<script type="text/javascript">
/// XP Look
webFXTreeConfig.rootIcon		= "images/xp/folder.png";
webFXTreeConfig.openRootIcon	= "images/xp/openfolder.png";
webFXTreeConfig.folderIcon		= "images/xp/folder.png";
webFXTreeConfig.openFolderIcon	= "images/xp/openfolder.png";
webFXTreeConfig.fileIcon		= "images/xp/file.png";
webFXTreeConfig.lMinusIcon		= "images/xp/Lminus.png";
webFXTreeConfig.lPlusIcon		= "images/xp/Lplus.png";
webFXTreeConfig.tMinusIcon		= "images/xp/Tminus.png";
webFXTreeConfig.tPlusIcon		= "images/xp/Tplus.png";
webFXTreeConfig.iIcon			= "images/xp/I.png";
webFXTreeConfig.lIcon			= "images/xp/L.png";
webFXTreeConfig.tIcon			= "images/xp/T.png";
//var tree = new WebFXLoadTree("WebFXLoadTree", "tree1.xml");
//tree.setBehavior("classic");

var rti;
var tree = new WebFXTree("系统功能菜单");
tree.add(new WebFXLoadTreeItem("人员管理", "script/tree.xml"));
tree.add(new WebFXLoadTreeItem("实时监控", "script/treeshishi.xml"));
tree.add(new WebFXLoadTreeItem("远程控制", "script/treekongzhi.xml"));
tree.add(new WebFXLoadTreeItem("系统管理", "script/treexitong.xml"));
tree.add(new WebFXLoadTreeItem("基础数据维护", "script/treeshuxu.xml"));
tree.add(new WebFXLoadTreeItem("故障管理", "script/treeguzhang.xml"));
//tree.add(new WebFXTreeItem("", "treexitong.xml"));

document.write(tree);

</script>

</body>
</html>
